var exec = require('child_process').execSync

let array = [
    'trade', 'pa', 'core', 'buff', 'skill', 'skill4',
    'character', 'character_only', 'character3', 'summon', 'weapon',
    'monster', 'profession', 
    'character_lua', 'character_story_lua', 'core_lua', 'weapon_lua', 'summon_lua', 'item_lua', 
]

for (let name of array) {
    exec("node ../combine/" + name);
    console.log(`exec ${name} successfully!`);
}